<script src="@/assets/js/MainView.js" />

<template>
  <div>
    <div class="welcome">
      <div class="welcome-text">
        <h3>欢迎语说是</h3>
        <p>今天是陪伴您的第 {{ days }} 天,请努力提交代码吧~</p>
      </div>
      <h4 class="projectCount">当前监听项目总数: {{ projectCount }}</h4>
    </div>
    <div class="project">
      <h3>个人项目</h3>
      <div v-if="loading">加载中</div>
      <div v-else>
        <div v-for="project in projectList" :key="project.id">
          <div>{{ project.projectName }}</div>
        </div>
      </div>
    </div>
  </div>
</template>
